package com.atguigu.admin.exception;

import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * ClassName: UserToManyException
 * Package: com.atguigu.admin.exception
 * Description:
 *
 * @Author Root
 * @Create 2023/4/24 11:16
 * @Version 1.0
 */
@Slf4j
@ResponseStatus(value = HttpStatus.FORBIDDEN,reason = "用户数量太多")
public class UserToManyException extends RuntimeException{
    public UserToManyException() {
    }

    public UserToManyException(String message){
        super(message);
    }


}
